package com.yunji.order.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.util.List;
/**
 * @author : peter-zhu
 * @date : 2025/3/12 09:02
 * @description : TODO
 **/
@Data
public class OrderCreateDTO {
    @NotBlank(message = "货柜QRCode不能为空")
    @ApiModelProperty(value = "货柜QRCode", required = true)
    private String qrcode;

    @ApiModelProperty(value = "优惠券ID")
    private Long couponId;

    @Valid
    private List<OrderDetailDTO> orderDetails;
}
